package ch.netcetera.planningpoker.client;

import java.util.logging.Logger;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.gwtplatform.mvp.client.DelayedBindRegistry;

public class IndexPage implements EntryPoint {

    private static final Logger logger = Logger.getLogger(IndexPage.class
            .getName());
	
    public final PokerGinjector ginjector = GWT.create(PokerGinjector.class);

    /**
     * @see com.google.gwt.core.client.EntryPoint#onModuleLoad()
     */
    @Override
    public void onModuleLoad() {
        DelayedBindRegistry.bind(ginjector);

        ginjector.getPlaceManager().revealCurrentPlace();
        ginjector.getGameRequestFactory().initialize(ginjector.getEventBus());


    }


}
